<%--
  Created by IntelliJ IDEA.
  User: qpxbo
  Date: 2019/12/25
  Time: 20:37
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: qpxbo
  Date: 2019/12/4
  Time: 12:02
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>Title</title>
    <link rel="stylesheet" href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css">
    <script src="https://cdn.staticfile.org/jquery/2.1.1/jquery.min.js"></script>
    <script src="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>
</head>
<body>
<table class="table">
    <caption>基本的表格布局JSP</caption>
    <thead>
    <tr>
        <td>姓名</td>
        <td>用户名</td>
    </tr>
    </thead>
    <tbody>
    <c:forEach items="${users}" var="user" >
        <tr>
            <td>${user.name}</td>
            <td>${user.username}</td>

        </tr>
    </c:forEach>
    </tbody>
</table>
</body>
</html>